const config = require('./config')
var server = require('./server/server')
require('./libs/authorization')
require('./server/api/user')
require('./server/api/verifycode')
require('./server/api/records')
require('./server/api/today')
require('./server/api/history')
require('./server/api/accounts')
require('./server/api/dispatcher')
require('./server/api/updatetask')
require('./server/api/sync')
require('./server/api/matchs')
require('./server/api/opponent')
require('./server/api/toprank')

server.listen(config.dev_server_port, function() {
  console.log('listening at %s', config.dev_server_port);
});
